﻿using System;
using System.Collections.Generic;
using System.Text;
using WebLog.DataParsing.Enums;

namespace WebLog.DataParsing
{
    public class DataParsingHelper
    {
        /// <summary>
        /// 数据解释器所用到的枚举，按照这里面的顺序解释每一位
        /// </summary>
        static List<Type> enums = new List<Type> 
        { 
            typeof(SourceType), typeof(Weight), typeof(DataType)
        };
        public DataParsingHelper()
        {
            init();
        }
        void init()
        {
            var sql = @"";
        }
        static DataParsingHelper _DataParsing;
        static object lockObj = new object();
        public static DataParsingHelper DataParsing
        {
            get
            {
                lock (lockObj)
                {
                    if (_DataParsing == null)
                    {
                        _DataParsing = new DataParsingHelper();
                    }
                }
                return _DataParsing;
            }
        }
    }
}
